@echo off
cls

rem ***************************************************************************
rem set required environment variables:
rem ***************************************************************************

SET source_dir=.\
SET destination_dir=..\artcol2007.%1\
SET destination_dir_freepository=..\artcol2007.freepository\

@echo.

rem ***************************************************************************
rem copy:
rem ***************************************************************************

@echo.


xcopy "%source_dir%*.*" "%destination_dir%" /Y /H /R /S  /EXCLUDE:cp_excluded_files.txt
pause
xcopy "%source_dir%*.*" "%destination_dir_freepository%" /Y /H /R /S /M /EXCLUDE:cp_excluded_files.txt
pause
cd "%destination_dir%"

zip ..\..\artcol\artcol2007.%1.zip -r artcol/*.*  *.*
cd ..\..\artcol\
pause